package com.yanshaohui.configuations.reactiveRedis;

import com.yanshaohui.bean.Person;
import org.springframework.data.redis.connection.ReactiveRedisConnectionFactory;
import org.springframework.data.redis.core.ReactiveRedisTemplate;
import org.springframework.data.redis.serializer.RedisSerializationContext;

/**
 * Created by TS-Ysh on 2018-05-14.
 */
public class PersonRedisTemplate extends ReactiveRedisTemplate<String,Person> {
    public PersonRedisTemplate(ReactiveRedisConnectionFactory connectionFactory, RedisSerializationContext<String, Person> serializationContext) {
        super(connectionFactory, serializationContext);
    }

    public PersonRedisTemplate(ReactiveRedisConnectionFactory connectionFactory, RedisSerializationContext<String, Person> serializationContext, boolean exposeConnection) {
        super(connectionFactory, serializationContext, exposeConnection);
    }
}
